package com.clz.appdesign.ndk;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.clz.appdesign.myapp.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class JniActivity extends AppCompatActivity {
    
    @BindView(R.id.tv_content)
    TextView mTvContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jni);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.tv_test)
    public void onViewClicked() {
        mTvContent.setText(NdkJniUtils.sayHelloFromJNI());
    }
}
